package com.atguigu.eduorder.feign;

import com.atguigu.commonutils.ordervo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: Cyrus
 * @CreateDate: 2020/12/18
 */
@FeignClient("service-edu")
public interface CourseApi {
    //根据课程id查询课程信息
    @GetMapping("/eduservice/coursefront/getCourseInfoById/{id}")
    CourseWebVoOrder getCourseInfoById(@PathVariable("id") String id);

}
